﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


using Gift.DAL;
using Gift.Model;

namespace WebSite.cn
{
    public partial class Bulletin : BasePage
    {
        string _bulletinMsg;
        readonly DALBulletin theBulletin = new DALBulletin();

        public string BulletinMsg
        {
            get { return _bulletinMsg; }
            set { _bulletinMsg = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                tbBulletin oBulletin = new tbBulletin();
                oBulletin = theBulletin.GetModel("1");
                if (oBulletin != null)
                {
                    _bulletinMsg = oBulletin.Bulletin;
                }
            }

        }
    }
}